#pragma once

using namespace System;
using namespace System::ComponentModel;
using namespace System::Collections;
using namespace System::Windows::Forms;
using namespace System::Data;
using namespace System::Drawing;
#include "myForm.h"

namespace myui {

	/// <summary>
	/// Summary for FrameListForm
	///
	/// WARNING: If you change the name of this class, you will need to change the
	///          'Resource File Name' property for the managed resource compiler tool
	///          associated with all .resx files this class depends on.  Otherwise,
	///          the designers will not be able to interact properly with localized
	///          resources associated with this form.
	/// </summary>
	public ref class FrameListForm : public myForm
	{
	public:
		FrameListForm(void)
		{
			InitializeComponent();
			//
			//TODO: Add the constructor code here
			//
		}

	protected:
		/// <summary>
		/// Clean up any resources being used.
		/// </summary>
		~FrameListForm()
		{
			if (components)
			{
				delete components;
			}
		}
	private: System::Windows::Forms::ListBox^  listBox;
	protected: 

	private: System::Windows::Forms::ImageList^  imageList1;
	protected: 

	protected: 


	public: 
	private: System::ComponentModel::IContainer^  components;
	protected: 





	protected: 

	private:
		/// <summary>
		/// Required designer variable.
		/// </summary>


#pragma region Windows Form Designer generated code
		/// <summary>
		/// Required method for Designer support - do not modify
		/// the contents of this method with the code editor.
		/// </summary>
		void InitializeComponent(void)
		{
			this->components = (gcnew System::ComponentModel::Container());
			this->listBox = (gcnew System::Windows::Forms::ListBox());
			this->imageList1 = (gcnew System::Windows::Forms::ImageList(this->components));
			this->SuspendLayout();
			// 
			// listBox
			// 
			this->listBox->ColumnWidth = 100;
			this->listBox->Dock = System::Windows::Forms::DockStyle::Top;
			this->listBox->DrawMode = System::Windows::Forms::DrawMode::OwnerDrawFixed;
			this->listBox->Font = (gcnew System::Drawing::Font(L"SimSun", 50));
			this->listBox->FormattingEnabled = true;
			this->listBox->HorizontalScrollbar = true;
			this->listBox->ItemHeight = 100;
			this->listBox->Items->AddRange(gcnew cli::array< System::Object^  >(7) {L"a", L"b", L"c", L"d", L"e", L"f", L"g"});
			this->listBox->Location = System::Drawing::Point(0, 0);
			this->listBox->MultiColumn = true;
			this->listBox->Name = L"listBox";
			this->listBox->Size = System::Drawing::Size(652, 104);
			this->listBox->TabIndex = 1;
			this->listBox->DrawItem += gcnew System::Windows::Forms::DrawItemEventHandler(this, &FrameListForm::listBox_DrawItem);
			// 
			// imageList1
			// 
			this->imageList1->ColorDepth = System::Windows::Forms::ColorDepth::Depth8Bit;
			this->imageList1->ImageSize = System::Drawing::Size(16, 16);
			this->imageList1->TransparentColor = System::Drawing::Color::Transparent;
			// 
			// FrameListForm
			// 
			this->AutoScaleDimensions = System::Drawing::SizeF(6, 12);
			this->AutoScaleMode = System::Windows::Forms::AutoScaleMode::Font;
			this->ClientSize = System::Drawing::Size(652, 266);
			this->Controls->Add(this->listBox);
			this->DockAreas = WeifenLuo::WinFormsUI::Docking::DockAreas::DockBottom;
			this->Font = (gcnew System::Drawing::Font(L"SimSun", 9, System::Drawing::FontStyle::Regular, System::Drawing::GraphicsUnit::Point, 
				static_cast<System::Byte>(134)));
			this->FormBorderStyle = System::Windows::Forms::FormBorderStyle::None;
			this->Name = L"FrameListForm";
			this->Text = L"Frame List";
			this->Load += gcnew System::EventHandler(this, &FrameListForm::FrameListForm_Load);
			this->ResumeLayout(false);

		}
#pragma endregion

private: System::Void FrameListForm_Load(System::Object^  sender, System::EventArgs^  e);
private: System::Void listBox_DrawItem(System::Object^  sender, System::Windows::Forms::DrawItemEventArgs^  e);

};
}
